osd: limit omap data in push op
authorWanlong Gao <wanlong.gao@easystack.cn>
Thu, 23 Jun 2016 12:04:25 +0000 (20:04 +0800)
committerAdrian Bunk <bunk@debian.org>
Wed, 7 Jun 2017 08:39:39 +0000 (09:39 +0100)
commite6860e32f25c4b2c9c15410a7d47cd0b66227cb9
tree7e1dbcec4c845c6f117189af5697e79f9b1858e8
parent6e110034a869cff979bf550bcb94f57210a02f20
osd: limit omap data in push op

We already have the config osd_recovery_max_chunk to limit the total
size of omap entries and omap data. But we need an individual config
to limit the number of omap entries independently. We call this config
osd_recovery_max_omap_entries_per_chunk here with the default number
of 64000.

Signed-off-by: Wanlong Gao <wanlong.gao@easystack.cn>
Gbp-Pq: Name osd-limit-omap-data-in-push-op.patch
src/common/config_opts.h
src/osd/ReplicatedBackend.cc